package com.liuhe.date;

import java.util.Date;

public class Demo1 {
    public static void main(String[] args) {
        Date now = new Date();
        System.out.println(now);
        Date d2 = new Date(0L);
        System.out.println(d2);
        Date d3 = new Date(10000L);
        System.out.println(d3);
        System.out.println(d3.getTime());

    }
}
